/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ${USER}
 * Date: ${YEAR}-${MONTH}-${DAY}
 * Time: ${TIME}
 */
public class Main {
    public static int add(int x,int y){
        return x + y;
    }
    public static double add(double x,double y,double z){
        return x + y + z;
    }
    public static void main(String[] args) {
        int a = 1,b = 2;
        double c = 1,d = 2,e = 3;
        System.out.println(add(a, b));
        System.out.println(add(c, d, e));
    }
}